/**
 * 打开弹出框
 */
function openDialog(div, title, w, h){
    if (w == null){
        w = 700;
    }

    if(h == null){
        h = 600;
    }

    $("#" + div).dialog({
        title:title,
        width:w,
        height:h,
        modal:true
    });
}

//关闭弹出框
function closeDialog(div){
    $("#" + div).dialog("close");
}
